﻿using System;
using UnityEngine;

namespace ProjectDanmaku.Core
{
    public class LevelDebugger : MonoBehaviour
    {
        [SerializeField] private GameObject initLevelPrefab;
        
        private LevelManager _levelManager;

        private void Awake()
        {
            _levelManager = GetComponent<LevelManager>();
        }

        private void Start()
        {
            _levelManager.EnterLevel(initLevelPrefab);
        }
    }
}